package com.xx.mapper;

import com.xx.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Mapper
public interface UserMapper {

    List<User> selectAll();

    User selectById(int id);

    void save(User user);

    void deleteById(int id);
}
